package com.service.component.permissions.services;

import com.service.component.common.CommonResult;
import com.service.component.permissions.entity.Permission;
import com.service.component.user.entity.Users;

import java.util.List;

public interface PermissionService {

    CommonResult insertPermission(Permission permission);

    List<Permission> getPermissionByUserId(String userId);

    Permission getPermissionByPermName(String permName);
}
